package com.lovo;

import javax.swing.*;

public class Card {
    private String type;
    private int number;
    private String path;


    public Card() {
    }

    public Card(String type, int number, String path) {
        this.type = type;
        this.number = number;
        this.path = path;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return path;
    }
}
